﻿using System;
using System.Collections;
using Huirui.Cavan.Domain.Seedwork;

namespace Huirui.Cavan.Domain.MainBoundedContext.SystemModule
{
    #region CodeRuleProperty

    /// <summary>
    /// CodeRuleProperty object for NHibernate mapped table 'CodeRuleProperty'.
    /// </summary>
    public class CodeRuleProperty : Persistent<long>
    {
        #region Member Variables

        protected int _codeRuleID;
        protected int _codeRuleType;
        protected long _max;

        #endregion

        #region Constructors

        public CodeRuleProperty() { }

        public CodeRuleProperty(int codeRuleID, int codeRuleType, long max, DateTime createDate, DateTime modifyDate, int editUser)
        {
            this._codeRuleID = codeRuleID;
            this._codeRuleType = codeRuleType;
            this._max = max;
            this._createDate = createDate;
            this._modifyDate = modifyDate;
            this._editUser = editUser;
        }

        #endregion

        #region Public Properties

        public virtual int CodeRuleID
        {
            get { return _codeRuleID; }
            set { _codeRuleID = value; }
        }

        public virtual int CodeRuleType
        {
            get { return _codeRuleType; }
            set { _codeRuleType = value; }
        }

        public virtual long Max
        {
            get { return _max; }
            set { _max = value; }
        }



        #endregion
    }
    #endregion
}